namespace go monthly.passenger
struct SendSmsReq{
    1: string mobile
    2: string sendSmsCode
}
struct SendSmsResp{
    1: i16 code
    2: string message
}
struct RegisterReq{
    1: string mobile
    2: string sendSmsCode
}
struct RegisterResp{
    1: i16 code
    2: string message
}
struct LoginReq{
    1: string mobile
    2: string sendSmsCode
}
struct LoginResp{
    1: i16 code
    2: string message
    3: i16 pId
}
struct UploadPassengerReq{
    1: i16 Pid
    2: string mobile
    3: i16 handlerImage
    4: string name
    5: string sex
    6: i16 age
}
struct UploadPassengerResp{
    1: i16 code
    2: string message
}
struct SartRatingReq{
    1: i16 Pid
    2: string starRating
}
struct SartRatingResp{
    1: i16 code
    2: string message
}
struct QueryPTripReq{
    1: i16 pId
}
struct QueryPTripResp{
    1: i16 code
    2: string message
    3: string table
}

service passengerService{
    SendSmsResp SendSms(1: SendSmsReq req)
    RegisterResp Register(1: RegisterReq req)
    LoginResp Login(1: LoginReq req)
    UploadPassengerResp UploadPassenger (1: UploadPassengerReq req)
    SartRatingResp SartRating (1: SartRatingReq req)
    QueryPTripResp QueryPTrip(1: QueryPTripReq req)
}